package com.wowudi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "ho_pay")
public class HoPay {
    /**
     * id
     */
    @TableId(value = "hp_id", type = IdType.AUTO)
    private Integer hpId;

    /**
     * 患者id
     */
    @TableField(value = "pt_id")
    private Integer ptId;

    /**
     * 消费类型
     */
    @TableField(value = "hp_type")
    private String hpType;

    /**
     * 消费金额
     */
    @TableField(value = "hp_price")
    private Long hpPrice;

    /**
     * 状态
     */
    @TableField(value = "hp_status")
    private String hpStatus;

    /**
     * 创建时间
     */
    @TableField(value = "hp_create_time")
    private Date hpCreateTime;

    @TableField(value = "hp_isdel")
    private Integer hpIsdel;
    @TableField(exist = false)
    private Patients patients;
}